<template>
  <div class="map">
    <div id="map_box" class="map_box"></div>
  </div>
</template>
<script>
export default {
  data () {
    return {
    };
  },
  created () {
  },
  mounted () {
    this.init()
  },
  methods: {
    init () {
      var map = new AMap.Map('map_box', {
        viewMode: "3D",
        center: [113.43, 22.87]
      });
    }
  }
};
</script>
<style>
#map_box {
  margin: 0;
  padding: 0;
  width: 500px;
  height: 500px;
}
</style>
